home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!xmission!slc84
- From: zarahmla@xmission.com (Matt Smith)
- Newsgroups: comp.lang.c++
- Subject: Re: exec under Windows ?
- Date: Fri, 12 Jan 96 16:18:37 GMT
- Organization: Zarahemla Book Shoppe
- Message-ID: <4d61l8$ooo@news.xmission.com>
- References: <4d55hr$n9m@tic.sm.dsi.unimi.it>
- NNTP-Posting-Host: slc84.xmission.com
- X-Newsreader: News Xpress Version 1.0 Beta #3
-
- In article <4d55hr$n9m@tic.sm.dsi.unimi.it>,
- berola@dsi.unimi.it (simona berola) wrote:
-
- Use WinExec. you can execute either Windows or DOS programs.
- >
- >Excuse me for my school English, but I'm desperate with Borland C++ 3.0.
- >I need to know if there is a function or something else to execute a DOS
- >program during the execution of another program written in C++ for
- >Windows.
- >I know that "exec" and "system" do this, but only for program write for
- >DOS and not for Windows.
- >Example:
- >
- > DOS WINDOWS
- >
- >main()
- >{
- > exec("edit"); ------------------> it's not possible ?
- >}
- >or
- >
- >main() I have no Compiling error
- >{ but i have 1 linker error
- > system("edit"); ------------------>
- >}
- >
- >N.B:My "dos" program must only write on file, and not on screen
- >
- > Thanks for your help
- >
- >e-mail: galvani@ghost.sm.dsi.unimi.it
- >
-
- Thank you,
-
-
-
- Matt Smith <http://www.xmission.com/~zarahmla>
- =======================================================
- Zarahemla Book Shoppe | LDS Books, Music, Software
- zarahamla@xmission.com | Infobases, Genealogy and
- (801) 296-5944 | Internet Links
-